﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;

namespace WebApi.Models
{
    [Table("Administrators")]
    public class Administrators : EntityTypeConfiguration<Administrators>  /*管理员表*/
    {
        [Key]
        public int ID { set; get; }  /*编号*/
        public string Adm_Id { set; get; }    /*管理员ID工号*/
        public string Adm_Pwd { set; get; }    /*管理员登录密码*/
        public string Adm_Name { set; get; }    /*管理员昵称*/
    }
}